<?php
if (!defined("MY_EXECEPTION_PHS")) {
	define("MY_EXECEPTION_PHS",1);
	class MyException extends Exception {
		protected $addMess = "Unknown";
		function MyException() {}
		function addString($str) {
			$this -> addMess = $str;
		}
		function errMessage() {
			return $this -> getMessage()." in file ".$this->getFile()." at line: ".$this->getLine()."  Extra-Info: ".$this-> addMess;
		}
	}
	
	class NoResultFileException extends MyException {}
}
?>